﻿// My methods here.
//-----------------------------------------------------------------------
// <Copyright file=LienHe company=DHPD>
// Copyright (c) DHPD Corporation (http://dhpd.edu.vn). All rights reserved.
// </copyright>
// <author>HP</author>
//-----------------------------------------------------------------------

using System;
using System.ComponentModel.DataAnnotations;

namespace KM.ENT
{
    /// <summary>
    /// This is entLienHe class
    /// </summary>

    public class entLienHe
    {
        /// <summary>
        /// Initializes a new instance of the entLienHe class
        /// </summary>
        public entLienHe()
        {

        }

        /// <summary>
        /// Gets or sets Id field
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// Gets or sets HoTen field
        /// </summary>
        /// 
        [Required(ErrorMessage = "Tên sản phẩm không được để trống")]
        public string HoTen { get; set; }

        /// <summary>
        /// Gets or sets DienThoai field
        /// </summary>
        public string DienThoai { get; set; }

        /// <summary>
        /// Gets or sets Email field
        /// </summary>
        /// 
        [EmailAddress(ErrorMessage = "Invalid Email Address")]
        public string Email { get; set; }

        /// <summary>
        /// Gets or sets NoiDung field
        /// </summary>
        public string NoiDung { get; set; }

        /// <summary>
        /// Gets or sets NgayTao field
        /// </summary>
        public string NgayTao { get; set; }

        /// <summary>
        /// Gets or sets TrangThai field
        /// </summary>
        public Byte TrangThai { get; set; }

        /// <summary>
        /// Gets or sets TrangThai field
        /// </summary>
        public string TrangThaiString { get; set; }


    }
}
